Skip to content

Conversation

@viniciusdsmello
Copy link
Contributor

Add support for OpenAI's new Responses API to the tracer while maintaining backward compatibility with the Chat Completions API.

This update enables tracing for OpenAI's unified Responses API, which offers improved metadata, traceability, and native support for function/tool calls, aligning with Openlayer's observability goals. The implementation ensures seamless tracing for both streaming and non-streaming calls, including proper mapping of token usage and tool invocation details, and includes comprehensive tests and documentation.


Linear Issue: OPEN-7560

Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Nov 13, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@viniciusdsmello viniciusdsmello marked this pull request as ready for review November 24, 2025 19:00
@viniciusdsmello viniciusdsmello changed the title Update openAI tracer for Responses API feat(closes OPEN-7560): update openAI tracer for Responses API Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants